/*
 * Created on Nov 26, 2007
 *
 * Copyrights of MYeBills. Do not copy or distribute without permission.
 *
 * TODO
 */
package com.mbbmap.app;

/**
 * @author lhlue
 * Last Update : 2007-12-23
 *
 * This class holds the application constant keys
 */
public class EbppKeys {

    // Account types for PDF reference
    public static final String PARAM_PDF_TYPE="PDFType";
    public static final String PDF_TYPE_SAVINGS="savings";
    public static final String PDF_TYPE_CURRENT="current";
    public static final String PDF_TYPE_CREDITCARD="creditcard";
    public static final String PDF_TYPE_SMF="smf";
    public static final String PDF_TYPE_ASM="asm";
    public static final String PDF_TYPE_IS="IS";

    // Bank Account Type from M2U
    public static final String M2U_ACC_TYPE_SAVING ="S";
    public static final String M2U_ACC_TYPE_CURRENT ="D";
    public static final String M2U_ACC_TYPE_CREDITCARD ="C";

    // Stmt Account Type as defined CF database
    public static final String DB_ACC_TYPE_SAVING ="SA";
    public static final String DB_ACC_TYPE_CURRENT ="CA";
    public static final String DB_ACC_TYPE_CREDITCARD ="CC";

    // Web Application parameter names
    public static final String PARAM_MERCHANT_KEY="merchant";
    public static final String PARAM_ACCOUNT_NO="accno";
    public static final String PARAM_STMT_DATE="stmtdate";
    public static final String PARAM_MIB_DATE="MIBdate";
    public static final String PARAM_MIB_FLAG="MIBFlag";

    // parameter used in web.xml
    public static final String ERROR_URL_PDF_DOWNLOAD="PdfDownloadErrorDestinationURL";

    // Error Code Key
    public static final String ERROR_FLAG ="ErrorOccured";
    public static final String ERROR_DESTINATION_URL_KEY="ErrorUrl";
    public static final String ERROR_CODE_KEY="ErrorCodeKey";
    public static final String ERROR_CODE_DOWNLOAD_PDF_FAIL = "ErrorDownloadPDF";

    // flag to indicate the current session need to be invalidated (upon returning to m2u)
    public static final String INVALIDATE_SESSION_FLAG ="invalidateSession";

    // M2U BV Keys
    public static final String M2U_BV_SESSION_ID ="BV_SessionID";
    public static final String M2U_BV_ENGINE_ID ="BV_EngineID";

    // CF Attribute Name
    public static final String CF_AUTO_CREATE_ACC="AutoCreateAccounts";
    public static final String CF_AUTO_CREATE_ACC_TYPE="AutoCreateAccountType";
    public static final String CF_MERCHANT_NAME="MerchantName";

    // Merchant constant
    public static final String MERCHANT_MAYBANK_NAME="Maybank";

    // Other attributes
    public static final String EBPP_STMTRUN_LSTN_DEBUG="StmtRunListenerDebug"; //stmtRunListener debug flag

    // Encryption.passphrase
    public static final String ENCRYPTION_PASSPHRASE="encryption.passphrase";

    //Updated by Teng Hui 03/04/2008 : Added for CR_EBPP08_03 - CCD Amex Platinum
    public static final String PARAM_EXTERNAL_KEY="stmtExternalKey";

    //Updated by Michael 21/04/2008 : Added for PSV
    public static final String M2U_PSV_ACC="3";

	//Updated by Michael 15/04/2008 : Added for TNB Bills PDF
	public static final String PDF_TYPE_TNB="tnb";

	//Updated by Michael 27/06/2008 : Added for Maybankinvest CR_EBPP08_07
	public static final String PDF_TYPE_CNT="cnt";

  	//20080701 : M2U Revamp
  	public static final String M2U_BV_OID = "oid";
  	public static final String M2U_BV_CHANNELOID = "channelOid";
  	public static final String M2U_BV_CHANNELCATOID = "channelCatOid";
  	public static final String M2U_BV_SECONDARY_TOKEN = "SECONDARY_TOKEN";

}
